package com.lightboat.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lightboat.system.domain.CrmProductStockRecord;

import java.util.List;

/**
 * 商品库存记录Service接口
 * 
 * @author lightboat
 * @date 2025-09-12
 */
public interface ICrmProductStockRecordService  extends IService<CrmProductStockRecord> {
    /**
     * 查询商品库存记录
     * 
     * @param id 商品库存记录主键
     * @return 商品库存记录
     */
    public CrmProductStockRecord selectCrmProductStockRecordById(Long id);

    /**
     * 查询商品库存记录列表
     * 
     * @param crmProductStockRecord 商品库存记录
     * @return 商品库存记录集合
     */
    public List<CrmProductStockRecord> selectCrmProductStockRecordList(CrmProductStockRecord crmProductStockRecord);

    /**
     * 新增商品库存记录
     * 
     * @param crmProductStockRecord 商品库存记录
     * @return 结果
     */
    public int insertCrmProductStockRecord(CrmProductStockRecord crmProductStockRecord);

    /**
     * 修改商品库存记录
     * 
     * @param crmProductStockRecord 商品库存记录
     * @return 结果
     */
    public int updateCrmProductStockRecord(CrmProductStockRecord crmProductStockRecord);

    /**
     * 批量删除商品库存记录
     * 
     * @param ids 需要删除的商品库存记录主键集合
     * @return 结果
     */
    public int deleteCrmProductStockRecordByIds(Long[] ids);

    /**
     * 删除商品库存记录信息
     * 
     * @param id 商品库存记录主键
     * @return 结果
     */
    public int deleteCrmProductStockRecordById(Long id);
}
